pi
Type
constant
Summary
Equal to the ratio of a circle's circumference to its diameter.
Syntax
pi
Description
Use the pi constant in trigonometric expressions where writing out "pi" makes the expression more readable and understandable.
The pi constant is equal to 3.14159265358979323846.
Examples
get tan((tAngleInDegrees * pi/180) + tSecondAngleInRadians)
Related
command: constant
function: acos, sin, cos, tan, asin, atan2, atan
glossary: expression
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile